<template>
	<div>
		<doc-alert
			title="报表设计器"
			url="https://doc.iocoder.cn/report/"
		/>
		<i-frame :src="url" />
	</div>
</template>
<script>
import iFrame from '@/components/iFrame/index';
import { getAccessToken } from '@/utils/auth';
export default {
	name: 'JimuReport',
	components: { iFrame },
	data() {
		return {
			url:
				`${window.location.protocol}//${window.location.host}/api` +
				'/jmreport/list?token=' +
				getAccessToken(),
		};
	},
};
</script>
